home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941031-19941221 / 000079_news@columbia.edu_Tue Nov 8 15:26:18 1994.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA15172
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 8 Nov 1994 10:37:06 -0500
  3. Received: by apakabar.cc.columbia.edu id AA01099
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 8 Nov 1994 10:37:04 -0500
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!news.kei.com!news.mathworks.com!udel!gatech!cs.utk.edu!not-for-mail
  6. From: shuford@cs.utk.edu (Richard Shuford)
  7. Newsgroups: comp.terminals,comp.protocols.kermit.misc
  8. Subject: Re: Incorrect response to request of terminal mode status (DEC modes)
  9. Followup-To: comp.terminals,comp.protocols.kermit.misc
  10. Date: 8 Nov 1994 10:26:18 -0500
  11. Organization: University of Tennessee, Knoxville--Dept. of Computer Science
  12. Lines: 74
  13. Distribution: world
  14. Expires: 31 Dec 1994 22:11:33 GMT
  15. Message-Id: <39o5aqINN164@cetus2e.cs.utk.edu>
  16. References: <39nbr2$rkh@kronos.fmi.fi>
  17. Nntp-Posting-Host: cetus2e.cs.utk.edu
  18. Summary: there are 2 cases, according to VT330/340 documentation
  19. Keywords: DECRQM, DECRPM, VT300, VT330, MS-Kermit, mode, setting, report
  20. Xref: news.columbia.edu comp.terminals:6025 comp.protocols.kermit.misc:1024
  21. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  22.  
  23. In article <39nbr2$rkh@kronos.fmi.fi>,
  24.    hurtta@dionysos.fmi.fi (Kari E. Hurtta) writes:
  25. >
  26. >MS-DOS Kermit responds to query
  27. >    CSI ? Ps $ p
  28. >with response
  29. >    CSI Ps; Ps1 $ y
  30. >According of my another docomentation response of this should be
  31. >    CSI ? Ps; Ps1 $ y
  32. >
  33. >(MS-Kermit's  documentation gives that response is CSI Ps; Ps1 $ y
  34. > but I think that this is incorrect for VT -series emulation.)
  35. >
  36. >- Kari E. Hurtta
  37. >  Kari.Hurtta@Fmi.FI
  38. >  {hurtta,root,Postmaster}@dionysos.fmi.fi
  39.  
  40. I think that you are referring to the VT300-mode request/response pair
  41. DECRQM and DECRPM.
  42.  
  43. In the Digital documentation "VT330/VT340 Programmer Reference Manual,
  44. Volume 1: Text Programming" (EK-VT3XX-TP-001) on page 238 we find
  45.  
  46.     MODE SETTINGS (VT300 mode only)
  47.  
  48.     Request Mode          DECRQM      CSI Pa $ p
  49.                                       Pa = ANSI mode (see table 12-2)
  50.  
  51.                                       CSI ? Pd $ p
  52.                                       Pa =  DEC private mode (see table 12-3)
  53.  
  54.     Report Mode           DECRPM      CSI Pa;Ps $ y
  55.                                       Pa = ANSI mode (see table 12-2)
  56.  
  57.                                       Ps = mode state
  58.                                        0 = unknown mode
  59.                                        1 = set
  60.                                        2 = reset
  61.                                        3 = permanently set
  62.                                        4 = permanently reset
  63.  
  64.  
  65.     Set Mode              SM          CSI Pa; ...Pa h
  66.                                       Pa = ANSI mode(s)
  67.  
  68.                                       CSI ? Pd; ...Pd h
  69.                                       Pd =  DEC private mode(s)
  70.  
  71.     Reset Mode            RM          CSI Pa; ...Pa l
  72.                                       Pa = ANSI mode(s)
  73.  
  74.                                       CSI ? Pd; ...Pd l
  75.                                       Pd =  DEC private mode(s)
  76.  
  77.  
  78. (Notes:  the CSI is hexadecimal 9B in 8-bit communication, or
  79.          the sequence <Escape> [   in 7-bit communication.
  80.  
  81.          Pa, Ps, and Pd are variable parameters.
  82.  
  83.          The "l" in the above RM command is a lowercase "L".
  84.  
  85.          Spaces in the description are for clarity and are not transmitted.)
  86.  
  87. So one form of the response is appropriate for ANSI/ISO standardized
  88. modes, and the other form for DEC proprietary modes.
  89.  
  90. Are you saying that MS-Kermit is generating the ANSI/ISO-mode response
  91. to the DEC-mode query?
  92.  
  93. -- 
  94.  ...Richard S. Shuford  | "When the righteous triumph, there is great elation;
  95.  ...shuford@cs.utk.edu  |  but when the wicked rise to power, men go into
  96.  ...Info-Stratus contact|  hiding." Proverbs 28:12 NIV